import request from '@/utils/request'


export function getAuthList(findMsg,currentPage,pagesizes) {
  return request({
    url: '/auth',
    method: 'get',
    params: { findMsg ,currentPage,pagesizes }
  })
}

export function getPassList(findMsg,currentPage,pagesizes) {
  return request({
    url: '/auth/pass',
    method: 'get',
    params: { findMsg ,currentPage,pagesizes }
  })
}

export function getUnpassList(findMsg,currentPage,pagesizes) {
  return request({
    url: '/auth/unpass',
    method: 'get',
    params: { findMsg ,currentPage,pagesizes }
  })
}

export function updatestate(authId,status) {
  return request({
    url: '/auth/update',
    method: 'get',
    params: { authId ,status}
  })
}



